<template>
	<!-- 轮播图区 -->
	<swiper circular :autoplay="true" :interval="3000" :duration="500">
		<swiper-item v-for="(item,index) in indexswiper.swiperList" :key="index">
			<image :src="item"> </image>
		</swiper-item>
	</swiper>
</template>

<script setup>
	import {
		ref
	} from 'vue';
	let indexswiper = defineProps(['swiperList']);
</script>

<style>
	swiper {
		height: 422rpx;
		position: relative;
	}

	/* 强制宽高充满屏幕 */
	swiper image {
		width: 100%;
		height: 100%;
	}
</style>
